#pragma once
#include "kungfu/yijinjing/common.h"

using namespace kungfu::yijinjing::data;

namespace junyi
{
    namespace mint
    {
        namespace wrapper
        {
			class MLocator : public::locator
			{
			public:
				MLocator() {
				
				};

				~MLocator() {

				};

				std::string home;

				bool has_env(const std::string& name) const override;

				const std::string get_env(const std::string& name) const override;

				const std::string layout_dir(location_ptr location, layout l) const override;

				const std::string layout_file(location_ptr location, layout l, const std::string& name) const override;

				const std::string default_to_system_db(location_ptr location, const std::string& name) const override;

				const std::vector<int> list_page_id(location_ptr location, uint32_t dest_id) const override;
			};
        }
    }
}